package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.OrderReportNotifyErrorMapper;
import com.qd.pay.model.OrderReportNotifyError;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class OrderReportNotifyErrorRepository extends BaseService<OrderReportNotifyErrorMapper, OrderReportNotifyError> {

    public boolean isExists(String eid) {
        return getBaseMapper().exists(new QueryWrapper<OrderReportNotifyError>().eq("eid", eid));
    }
}